| Conditions | 1 |
| Paths | 1 |
| Total Lines | 24 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | |||
| 3 | $(document).ready(function () { |
||
| 4 | new Clipboard('.copy-link'); |
||
| 5 | $('.alt-tooltip').tooltip(); |
||
| 6 | |||
| 7 | $('.delete-poll').click(function(){ |
||
| 8 | deletePoll(this); |
||
| 9 | }); |
||
| 10 | |||
| 11 | /* $('.copy-link').click(function(){ |
||
| 12 | copyToClipboard(this); |
||
| 13 | }); |
||
| 14 | */ |
||
| 15 | $('.table-body .avatardiv').each(function(i, obj) { |
||
| 16 | $(obj).avatar(obj.title, 32); |
||
| 17 | }); |
||
| 18 | |||
| 19 | $('.popupmenu').each(function() { |
||
| 20 | OC.registerMenu($('#expand_' + $(this).attr('value')), $('#expanddiv_' + $(this).attr('value')) ); |
||
| 21 | }); |
||
| 22 | |||
| 23 | $('.copy_link').click(function() { |
||
| 24 | window.prompt(t('polls','Copy to clipboard: Ctrl+C, Enter'), $(this).data('url')); |
||
| 25 | }); |
||
| 26 | }); |
||
| 27 | |||
| 28 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.